package cn.hill4j.tool.core.crypto;

/**
  * ClassName: SimpleReqEncVo
  * Description: 简单实现的密文报文统一数据格式
  * @author hillchen
  * Date: 2023/8/8
  * @version: 1.0
  */
public class SimpleReqEncVo implements ReqEncVo{
    /**
     * 报文请求时间戳
     */
    private Long reqTime;
    /**
     * 报文请求id
     */
    private String reqId;
    /**
     * 报文请求来源标识
     */
    private String reqSource;
    /**
     * 对称加密数据密钥
     */
    private String encDataKey;
    /**
     * 密文报文
     */
    private String encReqData;
    /**
     * 数据签名
     */
    private String reqSign;
    /**
     * @author hillchen
     * Description 获取报文请求时间戳
     * Date: 2023/8/8 22:31
         * @return Long
     **/
    public Long getReqTime() {
        return reqTime;
    }
    /**
     * @author hillchen
     * Description 设置报文请求时间戳
     * Date: 2023/8/8 22:32
     * @param reqTime 报文请求时间戳
         **/
    public void setReqTime(Long reqTime) {
        this.reqTime = reqTime;
    }
    /**
     * @author hillchen
     * Description 获取报文请求id
     * Date: 2023/8/8 22:32
         * @return String
     **/
    public String getReqId() {
        return reqId;
    }
    /**
     * @author hillchen
     * Description 设置报文请求id
     * Date: 2023/8/8 22:32
     * @param reqId 报文请求id
         **/
    public void setReqId(String reqId) {
        this.reqId = reqId;
    }
    /**
     * @author hillchen
     * Description 获取报文请求来源标识
     * Date: 2023/8/8 22:33
         * @return String
     **/
    public String getReqSource() {
        return reqSource;
    }
    /**
     * @author hillchen
     * Description 设置请求来源标识
     * Date: 2023/8/8 22:33
     * @param reqSource 报文请求来源标识
         **/
    public void setReqSource(String reqSource) {
        this.reqSource = reqSource;
    }
    /**
     * @author hillchen
     * Description 获取密文数据密钥
     * Date: 2023/8/8 22:34
         * @return String
     **/
    public String getEncDataKey() {
        return encDataKey;
    }
    /**
     * @author hillchen
     * Description 设置密文数据密钥
     * Date: 2023/8/8 22:34
     * @param encDataKey 密文数据密钥
         **/
    public void setEncDataKey(String encDataKey) {
        this.encDataKey = encDataKey;
    }
    /**
     * @author hillchen
     * Description 获取密文报文
     * Date: 2023/8/8 22:34
         * @return String
     **/
    public String getEncReqData() {
        return encReqData;
    }
    /**
     * @author hillchen
     * Description 设置密文报文
     * Date: 2023/8/8 22:34
     * @param encReqData 密文报文
         **/
    public void setEncReqData(String encReqData) {
        this.encReqData = encReqData;
    }
    /**
     * @author hillchen
     * Description 获取数据签名
     * Date: 2023/8/8 22:34
         * @return String
     **/
    public String getReqSign() {
        return reqSign;
    }
    /**
     * @author hillchen
     * Description 设置数据签名
     * Date: 2023/8/8 22:34
     * @param reqSign 数据签名
         **/
    public void setReqSign(String reqSign) {
        this.reqSign = reqSign;
    }

    @Override
    public Long findReqTime() {
        return getReqTime();
    }

    @Override
    public void putReqTime(Long reqTime) {
        setReqTime(reqTime);
    }

    @Override
    public String findReqId() {
        return getReqId();
    }

    @Override
    public void putReqId(String reqId) {
        setReqId(reqId);
    }

    @Override
    public String findReqSource() {
        return getReqSource();
    }

    @Override
    public void putReqSource(String reqSource) {
        setReqSource(reqSource);
    }

    @Override
    public String findEncDataKey() {
        return getEncDataKey();
    }

    @Override
    public void putEncDataKey(String encDataKey) {
        setEncDataKey(encDataKey);
    }

    @Override
    public String findEncReqData() {
        return getEncReqData();
    }

    @Override
    public void putEncReqData(String encReqData) {
        setEncReqData(encReqData);
    }

    @Override
    public String findReqSign() {
        return getReqSign();
    }

    @Override
    public void putReqSign(String reqSign) {
        setReqSign(reqSign);
    }
}
